﻿CREATE PROCEDURE [dbo].[select_login_check]
	@in_username nvarchar(20),
	@in_password nvarchar(20),
	@out_result int output
AS
	if not exists(select * from tb_users where users_name = @in_username and
	users_password = @in_password)

		set @out_result = 0;
		
	else
	
		set @out_result = 1;